package com.xique.client.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xique.client.bean.domain.Client;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 岗亭Mapper接口
 * 
 * @author shd
 * @date 2021-07-22
 */
public interface ClientMapper extends BaseMapper<Client>
{
    /**
     * 查询岗亭列表
     * 
     * @param client 岗亭
     * @return 岗亭集合
     */
    public List<Client> selectClientList(Client client);

    public double sumClientCash(@Param("startTime") Date startTime, @Param("userId") String userId, @Param("clientId") String clientId);
}
